import { NgModule } from "@angular/core";
import { Routes, RouterModule } from "@angular/router";
import { LayoutBasicComponent } from "./layout/layout-basic/layout-basic.component";


const routes: Routes = [
  {
    path: '',
    component: LayoutBasicComponent,
  },
  {
    path: 'project',
    loadChildren:() => import('./layout/layout.module').then(m => m.LayoutModule)
  }
]


@NgModule({
  imports: [
    RouterModule.forRoot(routes, { useHash: true })
  ],
  exports: [
    RouterModule
  ]
})
export class ViewsRoutingModule { }



